package com.funmi.lizip.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.funmi.lizip.common.base.DeleteRequest;
import com.funmi.lizip.common.base.R;
import com.funmi.lizip.entity.RangersCollect;
import com.baomidou.mybatisplus.extension.service.IService;
import com.funmi.lizip.entity.dto.rangersCollect.RangersCollectAddRequest;
import com.funmi.lizip.entity.dto.rangersCollect.RangersCollectQueryRequest;
import com.funmi.lizip.entity.dto.rangersCollect.RangersCollectUpdateRequest;
import com.funmi.lizip.entity.vo.RangersCollectVo;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yeyg
 * @since 2022-11-03
 */
public interface RangersCollectService extends IService<RangersCollect> {

    Page<RangersCollectVo> queryList(RangersCollectQueryRequest request);

    boolean add(RangersCollectAddRequest request) throws IOException;

    boolean delete(DeleteRequest request);

    boolean updateBy(HashMap<String, Object> request);

    void excelWrite(Integer type, HttpServletResponse response) throws IOException;

}
